package org.example.demo.service.userService;

import org.example.demo.dto.OrderGenParam;
import org.example.mbg.model.ProductByOrder;

import java.util.List;

public interface UserOrderService {

    List<ProductByOrder> list(Long userId);

    String generateOrder(List<OrderGenParam> orderGenParam);

    //购买单件商品
    String buyOne(OrderGenParam orderGenParam);

    String receive(Long orderId);

    ProductByOrder get(Long id, Long userId);
}
